#ifndef QACTIONTOOLBAR_H
#define QACTIONTOOLBAR_H

#include "corelib_global.h"

#include <QWidget>

#include <QAction>
#include <QList>

class QToolBarButton;

class CORELIBSHARED_EXPORT QActionToolBar : public QWidget
{
    Q_OBJECT
public:
    explicit QActionToolBar(QWidget *parent = 0);
    
    void    addButtonActions(const QList<QAction*>    &actions);
    void    setLabelWidget(QWidget* widget);
protected:
    QList<QToolBarButton*>     m_buttons;

    QWidget                    *m_emptyWidget;
};

#endif // QACTIONTOOLBAR_H
